

package com.huaweicloud.haydn.delivercore.agent.dto.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;

import lombok.Data;

/**
 * @since 2022-09-26
 */
@Data
@HeadRowHeight(40)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
public class DbExcelDto {

    @ExcelProperty(value = {"datalink_name"}, index = 0)
    private String datalinkName = "";

    @ExcelProperty(value = {"db_name"}, index = 1)
    private String databaseName = "";

    @ExcelProperty(value = {"db_capacity"}, index = 2)
    private String databaseCapacity = "";

    @ExcelProperty(value = {"db_table_num"}, index = 3)
    private String databaseTableNum = "";

    @ExcelProperty(value = {"gen_time"}, index = 4)
    private String genTime = "";
}
